//
//  YFEmptyView.m
//  project
//
//  Created by yefei on 2019/4/16.
//  Copyright © 2019 健健. All rights reserved.
//

#import "YFEmptyView.h"

@interface YFEmptyView ()

@property (weak, nonatomic) IBOutlet UILabel *messageLabel;

@end

@implementation YFEmptyView

+ (YFEmptyView *)view {
    YFEmptyView *view = [[NSBundle mainBundle] loadNibNamed:@"YFEmptyView" owner:nil options:nil].firstObject;
    view.frame = CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGTH);
    return view;
}

- (void)setMessage:(NSString *)message {
    _message = message;
    self.messageLabel.text = message;
    
}



@end
